Class WirelessServerProcessImpl

All Implemented Interfaces:
IPCObject, Process, WirelessCommon, WirelessServerProcess

public class WirelessServerProcessImpl extends WirelessCommonImpl implements WirelessServerProcess
Information provided by the PKI file:

    \class WirelessServerProcess
    
    \brief WirelessServerProcess handles and manipulates wireless servers.
    
    \example network().getDevice("PC0").getProcess("WirelessServer")
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • isMacFilterEnabled

      public boolean isMacFilterEnabled()
      Information provided by the PKI file:
      
          \brief Gets the mac filtering enable or disable state.
          \return Whether mac filtering is enabled or disabled. True is enabled.
          
              
      Specified by:
      isMacFilterEnabled in interface WirelessServerProcess
      Returns:
      boolean Returns a boolean
    • setMacFilterEnabled

      public void setMacFilterEnabled(boolean enable)
      Information provided by the PKI file:
      
          \brief Enables/Disables wireless mac filtering.
          \param enable Whether to enable or disable it.
          
              
      Specified by:
      setMacFilterEnabled in interface WirelessServerProcess
      Parameters:
      enable - Takes in a parameter of enable
    • setAllowAccess

      public void setAllowAccess(boolean enable)
      Information provided by the PKI file:
      
          \brief Sets the mode to allow access from listed mac addresses, or deny access for listed mac addresses
          \param enable true means allow listed mac addresses to use it. false means deny listed mac addresses.
          
              
      Specified by:
      setAllowAccess in interface WirelessServerProcess
      Parameters:
      enable - Takes in a parameter of enable
    • isAccessAllowed

      public boolean isAccessAllowed()
      Information provided by the PKI file:
      
          \brief Gets the mode to allow access from listed mac addresses, or deny access for listed mac addresses
          \return If the current mode is to allow access or deny access. True mean listed macs are allowed.
          
              
      Specified by:
      isAccessAllowed in interface WirelessServerProcess
      Returns:
      boolean Returns a boolean
    • removeAllMacEntries

      public void removeAllMacEntries()
      Information provided by the PKI file:
      
          \brief Clears the mac filtering table
          
              
      Specified by:
      removeAllMacEntries in interface WirelessServerProcess
    • getAllMacEntries

      public List<MACAddress> getAllMacEntries()
      Information provided by the PKI file:
      
          \brief Gets all of the mac entries
          
              
      Specified by:
      getAllMacEntries in interface WirelessServerProcess
      Returns:
      List<MACAddress> Returns a List<MACAddress>
    • getMacAddressCount

      public int getMacAddressCount()
      Information provided by the PKI file:
      
          \brief Gets the count of the mac addresses
          
              
      Specified by:
      getMacAddressCount in interface WirelessServerProcess
      Returns:
      int Returns a int
    • getMacAddressAt

      public MACAddress getMacAddressAt(int index)
      Information provided by the PKI file:
      
          \brief Gets the mac entry at index
          \param index the index of the desired mac address
          
              
      Specified by:
      getMacAddressAt in interface WirelessServerProcess
      Parameters:
      index - Takes in a parameter of index
      Returns:
      MACAddress Returns a MACAddress
    • resetAllAssociations

      public void resetAllAssociations()
      Information provided by the PKI file:
      
          \brief Resets wireless client associations so that the new filters will affect existing associations.
          
              
      Specified by:
      resetAllAssociations in interface WirelessCommon
      Specified by:
      resetAllAssociations in interface WirelessServerProcess
      Overrides:
      resetAllAssociations in class WirelessCommonImpl
    • addToMacFilterAddrList

      public void addToMacFilterAddrList(MACAddress addr)
      Information provided by the PKI file:
      
          \brief Add a mac address to the filtering table
          \param mac String of the mac address
          \return bool whether adding was successful. Adding an existing mac will be considered successful.
          
              
      Specified by:
      addToMacFilterAddrList in interface WirelessServerProcess
      Parameters:
      addr - Takes in a parameter of addr
    • removeFromMacFilterAddrList

      public void removeFromMacFilterAddrList(MACAddress addr)
      Information provided by the PKI file:
      
          \brief Removes a mac address from the filtering table
          \param mac The mac addres to remove
          
              
      Specified by:
      removeFromMacFilterAddrList in interface WirelessServerProcess
      Parameters:
      addr - Takes in a parameter of addr
    • isSsidBrdCastEnabled

      public boolean isSsidBrdCastEnabled()
      Information provided by the PKI file:
      
          \brief Check if ssid broadcast is enabled
          \returns bool, true if ssid broadcast is enabled and false if not
          
              
      Specified by:
      isSsidBrdCastEnabled in interface WirelessServerProcess
      Returns:
      boolean Returns a boolean
    • setSsidBrdCastEnabled

      public void setSsidBrdCastEnabled(boolean enabled)
      Information provided by the PKI file:
      
          \brief Set Ssid broadcast enabled
          \param enabled, true if ssid broadcast is enabled and false if not
          
              
      Specified by:
      setSsidBrdCastEnabled in interface WirelessServerProcess
      Parameters:
      enabled - Takes in a parameter of enabled